/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.ticket.samelevelleadership.service;

import java.util.List;

import com.jeeplus.modules.ticket.schlealeadership.entity.SchoolleaderLeadership;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.ticket.samelevelleadership.entity.SamelevelLeadership;
import com.jeeplus.modules.ticket.samelevelleadership.mapper.SamelevelLeadershipMapper;

/**
 * 评价领导班子Service
 * @author 刘明星
 * @version 2021-09-15
 */
@Service
@Transactional(readOnly = true)
public class SamelevelLeadershipService extends CrudService<SamelevelLeadershipMapper, SamelevelLeadership> {

	public SamelevelLeadership get(String id) {
		return super.get(id);
	}
	
	public List<SamelevelLeadership> findList(SamelevelLeadership samelevelLeadership) {
		return super.findList(samelevelLeadership);
	}
	
	public Page<SamelevelLeadership> findPage(Page<SamelevelLeadership> page, SamelevelLeadership samelevelLeadership) {
		return super.findPage(page, samelevelLeadership);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateGood(SamelevelLeadership samelevelLeadership){
		mapper.updateGood(samelevelLeadership);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateFine(SamelevelLeadership samelevelLeadership){
		mapper.updateFine(samelevelLeadership);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateGeneral(SamelevelLeadership samelevelLeadership){
		mapper.updateGeneral(samelevelLeadership);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updatePoor(SamelevelLeadership samelevelLeadership){
		mapper.updatePoor(samelevelLeadership);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateSpeakGood(SamelevelLeadership samelevelLeadership){
		mapper.updateSpeakGood(samelevelLeadership);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateSpeakFine(SamelevelLeadership samelevelLeadership){
		mapper.updateSpeakFine(samelevelLeadership);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateSpeakGeneral(SamelevelLeadership samelevelLeadership){
		mapper.updateSpeakGeneral(samelevelLeadership);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateSpeakPoor(SamelevelLeadership samelevelLeadership){
		mapper.updateSpeakPoor(samelevelLeadership);
	}
	@Transactional(readOnly = false)
	public void save(SamelevelLeadership samelevelLeadership) {
		super.save(samelevelLeadership);
	}
	
	@Transactional(readOnly = false)
	public void delete(SamelevelLeadership samelevelLeadership) {
		super.delete(samelevelLeadership);
	}
	
}